package com.moneywelcome.orderassembly.service;

import com.moneywelcome.orderassembly.model.InvestRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moneywelcome.orderfacade.dto.SubscribeOrderDto;
import com.moneywelcome.orderfacade.vo.InvestRecordVo;
import com.moneywelcome.orderfacade.vo.OrderPageVo;
import com.moneywelcome.results.PageResult;

import java.io.IOException;

/**
 * <p>
 * 申购记录表 服务类
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
public interface InvestRecordService extends IService<InvestRecord> {

    SubscribeOrderDto create(InvestRecordVo investRecordVo);

    void complete() throws IOException;

    PageResult<SubscribeOrderDto> queryRecord(OrderPageVo orderPageVo);
}
